<?php
/*
 * @Homepage for application
 * @verion 1.0
 * @author Roshan
 */
class Application extends base {
	
	protected $_view;
	
	public function __construct() {
		$this->setView ( 'home.phtml' );
	}
	public function run($view = 'home.phtml') {
		$this->setView ( $view );
		// Do business Logic
		
		
		$this->dispatch ();
	}
	public function setView($view) {
		$this->_view = $view;
	}
	public function dispatch() {
		include template_path () . $this->_view;
	}

}